<?php


namespace app\admin\validate;


class Paginate extends BaseValidate
{
    protected $rule = [
        'page' => 'integer|gt:0',
        'size' => 'integer|gt:0'
    ];

    protected $message = [
        'page' => '页数必须是正整数',
        'size' => '每页展示数量必须是正整数'
    ];
}